On 08/30/2018 03:27 AM, Henri Menke wrote:
> See also “8.9 Expansion” in
> http://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf
>
> \setupfontexpansion
> [extremehz]
> [stretch=50,shrink=50,step=.5,vector=default,factor=1]
>
> \definefontfeature
> [default]
&
See also “8.9 Expansion” in
http://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf
\setupfontexpansion
[extremehz]
[stretch=50,shrink=50,step=.5,vector=default,factor=1]
\definefontfeature
[default]
[default]
[expansion=extremehz]
\starttext
\setupalign[hz]
\input{knuth}
\stoptext
Hi,
In MkIV, the syntax for using hz seems to have changed from
\setupfonthandling to \setupfontexpansion (similarly for protrusion). What
is the equivalent of the following? Is this feature supported in MkIV and
LuaTeX? I tried changing/adding entries to
fonts.expansions.vectors.quality
as
follows:
% engine=luatex
% \setupfontexpansion [quality][stretch=2.5,shrink=2.5,step=.
5,factor=1]
\setupfontexpansion[oeps][a=1,b=2]
\setuptolerance[verytolerant,stretch] \showframe
\starttext
\definefontfeature[demo][default]
[mode=node,expansion=quality,protrusion=pure
Hi,
The latest luatex beta + mkiv support hz and protruding. The user
interface will be extended a bit, but for the moment it goes as follows:
% engine=luatex
% \setupfontexpansion [quality][stretch=2.5,shrink=2.5,step=.5,factor=1]
\setupfontexpansion[oeps][a=1,b=2]
\setuptolerance